package com.sjgtw.cloud.web.gridManage.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 防洪网格化管理对象 t_eg_grid_manage
 * 
 * @author ruoyi
 * @date 2024-03-09
 */
public class GridManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 一级网格单位id */
    @ApiModelProperty("一级网格单位id")
    private Long oneGridId;
    @ExcelProperty(value = "一级网格单位")
    private String oneGrid;

    /** 二级网格单位id */
    @ApiModelProperty("二级网格单位id")
    private Long twoGridId;
    @ExcelProperty(value = "二级网格单位")
    private String twoGrid;

    /** 责任范围 */
    @ExcelProperty(value = "责任范围")
    @ApiModelProperty("责任范围")
    private String responsibility;

    /** 网格员 */
    @ExcelProperty(value = "网格员")
    @ApiModelProperty("网格员")
    private String gridOperator;

    /** 网格组长 */
    @ExcelProperty(value = "网格组长")
    @ApiModelProperty("网格组长")
    private String gridLeader;

    public String getOneGrid() {
        return oneGrid;
    }

    public void setOneGrid(String oneGrid) {
        this.oneGrid = oneGrid;
    }

    public String getTwoGrid() {
        return twoGrid;
    }

    public void setTwoGrid(String twoGrid) {
        this.twoGrid = twoGrid;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOneGridId() {
        return oneGridId;
    }

    public void setOneGridId(Long oneGridId) {
        this.oneGridId = oneGridId;
    }

    public Long getTwoGridId() {
        return twoGridId;
    }

    public void setTwoGridId(Long twoGridId) {
        this.twoGridId = twoGridId;
    }

    public void setResponsibility(String responsibility)
    {
        this.responsibility = responsibility;
    }

    public String getResponsibility() 
    {
        return responsibility;
    }
    public void setGridOperator(String gridOperator) 
    {
        this.gridOperator = gridOperator;
    }

    public String getGridOperator() 
    {
        return gridOperator;
    }
    public void setGridLeader(String gridLeader) 
    {
        this.gridLeader = gridLeader;
    }

    public String getGridLeader() 
    {
        return gridLeader;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("oneGridId", getOneGridId())
            .append("twoGridId", getTwoGridId())
            .append("responsibility", getResponsibility())
            .append("gridOperator", getGridOperator())
            .append("gridLeader", getGridLeader())
            .toString();
    }
}
